package com.example.gitresp.service.imp;


import com.example.gitresp.mapper.EmpMapper;
import com.example.gitresp.pojo.Emp;
import com.example.gitresp.service.EmpService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Slf4j
@Service
public class EmpServiceImp implements EmpService {
    @Autowired
    private EmpMapper empMapper;
    @Override
    public List<Emp> selectAll() {
       return empMapper.selectAll();
    }
    @Override
    public Emp selectBYId(Integer id) {
       return empMapper.selectBYId(id);
    }

    @Override
    public void selectByStaticWord(String staticWord) {

    }
}
